<div class="navbar">
    <div class="header">
        <div class="Title">合伙人系统 <span class="slogan"></span></div><div class="spannav"><i class="fa fa-bars"></i> 菜单</div>
    </div>
    <div class="navbar_panel">
        <a role="link" aria-labelledby="b3_n1 b3_n2" aria-describedby="b3_txt1 b3_txt1_note" class="weui-cell weui-cell_access" href="/index">
            <span class="weui-cell__bd" aria-hidden="true">
                <span>首页</span>
            </span>
            <span class="weui-cell__ft"></span>
        </a>
        <!--{if in_array($_G['partner']['parid'] ?? NULL,[1,2])}-->
        <a role="link" aria-labelledby="b3_n1 b3_n2" aria-describedby="b3_txt1 b3_txt1_note" class="weui-cell weui-cell_access" href="/finance">
            <span class="weui-cell__bd" aria-hidden="true">
                <span>财务结算</span>
            </span>
            <span class="weui-cell__ft"></span>
        </a>
        <!--{/if}-->
        <a role="link" aria-labelledby="b3_n1 b3_n2" aria-describedby="b3_txt1 b3_txt1_note" class="weui-cell weui-cell_access" href="/transaction">
            <span class="weui-cell__bd" aria-hidden="true">
                <span>交易流水</span>
            </span>
            <span class="weui-cell__ft"></span>
        </a>
        <a role="link" aria-labelledby="b3_n1 b3_n2" aria-describedby="b3_txt1 b3_txt1_note" class="weui-cell weui-cell_access" href="/withdraw">
            <span class="weui-cell__bd" aria-hidden="true">
                <span>我的提现申请</span>
            </span>
            <span class="weui-cell__ft"></span>
        </a>
        <a role="link" aria-labelledby="b3_n1 b3_n2" aria-describedby="b3_txt1 b3_txt1_note" class="weui-cell weui-cell_access" href="/channel">
            <span class="weui-cell__bd" aria-hidden="true">
                <span>我的门店</span>
            </span>
            <span class="weui-cell__ft"></span>
        </a>
        <a role="link" aria-labelledby="b3_n1 b3_n2" aria-describedby="b3_txt1 b3_txt1_note" class="weui-cell weui-cell_access" href="/member">
            <span class="weui-cell__bd" aria-hidden="true">
                <span>个人中心</span>
            </span>
            <span class="weui-cell__ft"></span>
        </a>
    </div>
</div>
<script type="text/javascript">
$(document).ready(function (){
    $('.spannav').click(function(){
        if (!$(".navbar .navbar_panel").height()) {
            $(".navbar .navbar_panel").animate({height:"100%"});
        } else {
            $(".navbar .navbar_panel").animate({height:0});
        }
    });
});
</script>